import { useState } from "react"



export default function useRR() {
  const [count, setCount] = useState(1);
  
  const add = () => {
    setCount((v)=>v+1)
 }
  return {value:count,add}
}

